<?php
return array(
    'Core' => array(
        'SQLDebug' => false,
        'logDir' => '/home/log',
        'logLevel' => Core_Log::LEVEL_ALL,
//        'errorMessage' => '哎呀服务器坏了卧槽',
    ),
    'statsLog' => true,
    'db' => array(
        // default is required
        'default' => array(
            'host' => '127.0.0.1',
            'port' => 3306,
            'dbname' => 'goodhotel',
            'charset' => 'utf8mb4',
            'username' => 'root',
            'passwd' => '1q2w3e4r5',
        ),
    ),
    'solr' => array(
        'default' => array(
            'host' => '10.1.25.60',
            'port' => '8984',
            'indexes' => array(
                'dis' => 'core_dis',
                'gis' => 'core_gis',
                'cms' => 'core_cms',
                'poi' => 'core_poi_cms',
                'sticker' => 'core_sticker'
            )
        ),
    ),
    'mongo' => array(
        'default' => array(
            'server' => 'mongodb://127.0.0.1:27017',
            'database' => 'goodhotel',
            'options' => [
                'connect' => true,
                'connectTimeoutMS' => 500,
            ],
        ),
    ),
    'memcache' => array(
        'default' => array(
            array(
                'host' => '127.0.0.1',
                'port' => 11211
            ),
        ),
    ),
    'redis' => array(
        'default' => array(
            'host' => '127.0.0.1',
            'port' => 6379,
        ),
    ),
);
